package com.information.manage.gyjc.model.enity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 产品实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("product")
public class Product {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    // 工序名称
    @TableField("pno")
    private String pno;

    // 工序简介
    @TableField("pname")
    private String pname;

    // 工序值
    @TableField("ptype")
    private String ptype;

    // 工序单位
    @TableField("punit")
    private String punit;

    // 检测工具
    @TableField("pro_code")
    private String proCode;

    @TableField("gy_id")
    private Integer gyId;

    @TableField("catogary")
    private String catogary;

    @TableField("cretime")
    private Date cretime;

    @TableField("uptime")
    private Date uptime;

    @TableField("remark")
    private String remark;

}
